package com.lhj.library.domain.service;

import com.lhj.library.common.entity.PageResult;
import com.lhj.library.domain.entity.BookBO;
import com.lhj.library.domain.entity.RecordBO;
import com.lhj.library.infra.basic.entity.Book;

public interface BookDomainService {
    Boolean add(BookBO bookBO);

    Boolean update(BookBO bookBO);

    Boolean delete(BookBO bookBO);

    BookBO select(BookBO bookBO);

    PageResult<BookBO> selectByPage(BookBO bookBO);

    Boolean borrow(RecordBO recordBO);

    Boolean returned(RecordBO recordBO);
}
